package org.jeecg.modules.message.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.message.entity.MessageEmailConfig;

/**
 * @Description: 邮件配置
 * @Author: sean
 * @Date:   2024-10-09
 * @Version: V1.0
 */
public interface MessageEmailConfigMapper extends BaseMapper<MessageEmailConfig> {

    IPage<MessageEmailConfig> selelctJoinPage(@Param("page") Page page, @Param(Constants.WRAPPER) Wrapper wrapper);

    @InterceptorIgnore(tenantLine = "true")
    MessageEmailConfig getOneNoTenant(@Param(Constants.WRAPPER) Wrapper wrapper);
}
